function openWindow(url) {	
	$.fancybox({
		 href: url,
		 type : 'ajax',
		 closeBtn: false,
		 padding: 10,
		 modal: true,
		 afterClose: function () {
			 location.reload(true);
		 }
	});
}

function closeWindow()
{
	$.fancybox.close();
}

